﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000189 RID: 393
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CBNHKHEFEFF : IMessage<CBNHKHEFEFF>, IMessage, IEquatable<CBNHKHEFEFF>, IDeepCloneable<CBNHKHEFEFF>, IBufferMessage
	{
		// Token: 0x17000526 RID: 1318
		// (get) Token: 0x0600119E RID: 4510 RVA: 0x00032B05 File Offset: 0x00030D05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CBNHKHEFEFF> Parser
		{
			get
			{
				return CBNHKHEFEFF._parser;
			}
		}

		// Token: 0x17000527 RID: 1319
		// (get) Token: 0x0600119F RID: 4511 RVA: 0x00032B0C File Offset: 0x00030D0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CBNHKHEFEFFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000528 RID: 1320
		// (get) Token: 0x060011A0 RID: 4512 RVA: 0x00032B1E File Offset: 0x00030D1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CBNHKHEFEFF.Descriptor;
			}
		}

		// Token: 0x060011A1 RID: 4513 RVA: 0x00032B25 File Offset: 0x00030D25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CBNHKHEFEFF()
		{
		}

		// Token: 0x060011A2 RID: 4514 RVA: 0x00032B30 File Offset: 0x00030D30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CBNHKHEFEFF(CBNHKHEFEFF other) : this()
		{
			this.passengerId_ = other.passengerId_;
			this.iHLDLJGDCBL_ = ((other.iHLDLJGDCBL_ != null) ? other.iHLDLJGDCBL_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060011A3 RID: 4515 RVA: 0x00032B7C File Offset: 0x00030D7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CBNHKHEFEFF Clone()
		{
			return new CBNHKHEFEFF(this);
		}

		// Token: 0x17000529 RID: 1321
		// (get) Token: 0x060011A4 RID: 4516 RVA: 0x00032B84 File Offset: 0x00030D84
		// (set) Token: 0x060011A5 RID: 4517 RVA: 0x00032B8C File Offset: 0x00030D8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PassengerId
		{
			get
			{
				return this.passengerId_;
			}
			set
			{
				this.passengerId_ = value;
			}
		}

		// Token: 0x1700052A RID: 1322
		// (get) Token: 0x060011A6 RID: 4518 RVA: 0x00032B95 File Offset: 0x00030D95
		// (set) Token: 0x060011A7 RID: 4519 RVA: 0x00032B9D File Offset: 0x00030D9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ECJBKGKPJCJ IHLDLJGDCBL
		{
			get
			{
				return this.iHLDLJGDCBL_;
			}
			set
			{
				this.iHLDLJGDCBL_ = value;
			}
		}

		// Token: 0x060011A8 RID: 4520 RVA: 0x00032BA6 File Offset: 0x00030DA6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CBNHKHEFEFF);
		}

		// Token: 0x060011A9 RID: 4521 RVA: 0x00032BB4 File Offset: 0x00030DB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CBNHKHEFEFF other)
		{
			return other != null && (other == this || (this.PassengerId == other.PassengerId && object.Equals(this.IHLDLJGDCBL, other.IHLDLJGDCBL) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060011AA RID: 4522 RVA: 0x00032C04 File Offset: 0x00030E04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PassengerId != 0U)
			{
				num ^= this.PassengerId.GetHashCode();
			}
			if (this.iHLDLJGDCBL_ != null)
			{
				num ^= this.IHLDLJGDCBL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060011AB RID: 4523 RVA: 0x00032C59 File Offset: 0x00030E59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060011AC RID: 4524 RVA: 0x00032C61 File Offset: 0x00030E61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060011AD RID: 4525 RVA: 0x00032C6C File Offset: 0x00030E6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PassengerId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.PassengerId);
			}
			if (this.iHLDLJGDCBL_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.IHLDLJGDCBL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060011AE RID: 4526 RVA: 0x00032CC4 File Offset: 0x00030EC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PassengerId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PassengerId);
			}
			if (this.iHLDLJGDCBL_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IHLDLJGDCBL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060011AF RID: 4527 RVA: 0x00032D1C File Offset: 0x00030F1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CBNHKHEFEFF other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PassengerId != 0U)
			{
				this.PassengerId = other.PassengerId;
			}
			if (other.iHLDLJGDCBL_ != null)
			{
				if (this.iHLDLJGDCBL_ == null)
				{
					this.IHLDLJGDCBL = new ECJBKGKPJCJ();
				}
				this.IHLDLJGDCBL.MergeFrom(other.IHLDLJGDCBL);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060011B0 RID: 4528 RVA: 0x00032D84 File Offset: 0x00030F84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060011B1 RID: 4529 RVA: 0x00032D90 File Offset: 0x00030F90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 90U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.iHLDLJGDCBL_ == null)
						{
							this.IHLDLJGDCBL = new ECJBKGKPJCJ();
						}
						input.ReadMessage(this.IHLDLJGDCBL);
					}
				}
				else
				{
					this.PassengerId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000754 RID: 1876
		private static readonly MessageParser<CBNHKHEFEFF> _parser = new MessageParser<CBNHKHEFEFF>(() => new CBNHKHEFEFF());

		// Token: 0x04000755 RID: 1877
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000756 RID: 1878
		public const int PassengerIdFieldNumber = 1;

		// Token: 0x04000757 RID: 1879
		private uint passengerId_;

		// Token: 0x04000758 RID: 1880
		public const int IHLDLJGDCBLFieldNumber = 11;

		// Token: 0x04000759 RID: 1881
		private ECJBKGKPJCJ iHLDLJGDCBL_;
	}
}
